package com.shop.model;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class User implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Long id;
    private String username;
    private String password;
    private String confirmPassword;
    private String phone;
    private String email;
    private Integer gender;
    private String avatar;
    // 0: normal, 1: frozen, 2: blacklist
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer userType;
} 